package com.scrcu.core.batch.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Description: 批量任务状态信息
 * @Author: 刘超
 * @Date: 2023-05-09 11:13
 */
@Setter
@Getter
public class BatchSchedStat implements Serializable {

    private static final long serialVersionUID = 4383324338597439080L;

    /**
     * 批量事件的主键
     */
    private String id;

    /**
     * 批量实例 IP:port
     */
    private String addr;

    /**
     * 锁定时间
     */
    private Timestamp lockTime;

    /**
     * 超时标志
     */
    private boolean timeoutFlag;

    /**
     * 当前时间
     */
    private Timestamp currTimestamp;

}
